//
//  squarePicCell.m
//  FastRunDemo
//
//  Created by 苟亚明 on 16/9/20.
//  Copyright © 2016年 苟亚明. All rights reserved.
//

#import "squarePicCell.h"
#import "squareList.h"
#import <UIImageView+WebCache.h>
@implementation squarePicCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setTopics:(squareList *)topics{
    _topics = topics;
    
    self.lblText.text = topics.text;
    
    self.lblTime.text = topics.created_at;
    self.lblName.text = topics.screen_name;
    [self.img sd_setImageWithURL:[NSURL URLWithString:topics.profile_image] placeholderImage:[UIImage imageNamed:@"btn_girl_press"]];
    
    
    
}
@end
